<?php
/**
{
    "summaryId": "INT //ID",
    "uid": "INT //用户@foreign::tbl_user; @noload; ",
    "month": "VARCHAR //月份",
    "addCount": "INT //录入数",
    "checkCount": "INT //待审核",
    "passCount": "INT //通过数",
    "rejectCount": "INT //拒绝数"
}
 */

class Summary extends Base
{
    
	public $summaryId= '';//ID
	public $uid= '';//用户@foreign::tbl_user;@noload;
	public $month= '';//月份
	public $addCount= "0";//录入数
	public $checkCount= "0";//待审核
	public $passCount= "0";//通过数
	public $rejectCount= "0";//拒绝数

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_summary';
    }
    
    public  function key(){
        return 'summaryId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'Summary';
    }
    
    public  function field()
    {
        return array (  'summaryId' =>   array (    0 => 'INT',    1 => 11,    2 => 'ID',  ),  'uid' =>   array (    0 => 'INT',    1 => 11,    2 => '用户@foreign::tbl_user;@noload;',  ),  'month' =>   array (    0 => 'VARCHAR',    1 => 10,    2 => '月份',  ),  'addCount' =>   array (    0 => 'INT',    1 => 11,    2 => '录入数',  ),  'checkCount' =>   array (    0 => 'INT',    1 => 11,    2 => '待审核',  ),  'passCount' =>   array (    0 => 'INT',    1 => 11,    2 => '通过数',  ),  'rejectCount' =>   array (    0 => 'INT',    1 => 11,    2 => '拒绝数',  ),);
    }


}